home *** CD-ROM | disk | FTP | other *** search
- Path: ias_ppp0139.iamerica.net!72274.264
- From: 72274.264@compuserve.com (Sergey Kurtsev)
- Newsgroups: comp.lang.c++
- Subject: Re: C, C++, or both..??
- Date: Wed, 31 Jan 1996 07:38:08 -0500
- Organization: Hello, all.
- Distribution: world and others
- Message-ID: <72274.264.56.001487A2@compuserve.com>
- References: <4ehif2$ljf@news.iconn.net> <4ehs8e$iok@flood.weeg.uiowa.edu>
- NNTP-Posting-Host: ias_ppp0139.iamerica.net
- X-Newsreader: Trumpet for Windows [Version 1.0 Rev B]
-
- In <4ehif2$ljf@news.iconn.net>, thecrow@iconn.net (The Crow) writes:
- >>I am 17 years old, I have a rudimentary understanding of both C and C++ at
- this >>point.(I know Pascal well) I want to really delve into something at
- this point. >>My eventual goal is to either start my own software company, or
- work for one as >>a programmer. Should I concentrate only on C++ for now, only
- C for now, or >>both? Or does it not really matter? I have read up on C++ and
- I really don't >>see much benefit from it. People have kept applications in
- order (mostly) for >>years without 'object oriented' programming...and C seems
- to be faster and much >>less of a pain.
- >>
- >>I have a few programs in mind were object orientation would be a more natural
- >>way of going about the program (evolution similuations) but a lot of programs
- >>don't really benefit from it at all. The biggest improvements in C++ that I
- >>can see at this point are COUT/CIN, the comments, and NEW and DELETE...the rest
- >>just seems to make me type and think more. Is it because I am just not used to
- >>the idea yet or is it really more complicated? The thing I hate most is the way
- >>member functions have to be outside of their class, totally counter intuitive
- >>and makes things very hard to follow.
- >>--
- >>The Crow - thecrow@iconn.net
- >>"It can't rain all the time"
- >>-Kryptology
- >>
-
-
- When started OOPing, I thought it wouldn't be a great idea to use, just
- because it is stupid. I understood that somehow people gain smth from this but
- I didn't see anything profitable from this way of programming. Once I needed
- to write a simple prog (w/graphics) which would use buttons, similar to one
- Windows uses, w/the same behavior. I got really easy, but then I need to
- handle space outside buttons - this required addition of one code line to
- button handler - the call of "outerspace" handler. It could easily be done,
- but then I thought about and it actually happened - I needed a good library
- for building applications w/interface similar to TV, OWL and like this. I,
- actually, can hardly imagine a way it can be done w/regular ways of spreading
- code across the whole program, repeating code, spending time trying to figure
- out why and what doesn't work. Of course, I have a last kind of problems in my
- newly-programmed applications (with my OOP lib), but I can fix them very
- quickly.
- The result of all of this, is that I started developing of my own OOP
- interface lib, only because TurboVision (SuperVision, and other
- whateverVisions) was expensive for me (I'm a student). And I need to say - it
- goes pretty fast. May be something is not so perfect as in Borland's Visions
- but I'm satisfied.
- Also OOP is useful when you programm big applications with complex data
- structures' interfaces. I appriciate skills of person who can do this w/o OOP,
- but it is easier to do it OOP way, so why should we invent a wheel again and
- again ?
-
- Good luck in studying Object-Oriented Programming,
- Sergey.
-
-